Re: about ServerLimit and ThreadLimit
am 14.12.2009 11:23:41 von Philip Wigg
> On the documentation of Apache2.2
> ServerLimit=A0is a hard limit on the number of active child processes, an=
d
> must be greater than or equal to the=A0MaxClients=A0directive divided by
> the=A0ThreadsPerChild=A0directive.=A0ThreadLimit=A0is a hard limit of the=
number of
> server threads, and must be greater than or equal to
> the=A0ThreadsPerChild=A0directive.
> I did like above on worker MPM but server reached Max connection when 256=
th
> connection come.
>
> =A0StartServers =A0 =A0 =A0 =A0 =A0 =A0 =A0 5
> =A0MaxClients =A0 =A0 =A0 =A0 =A0 =A0 =A0350
> =A0MinSpareThreads =A0 =A0 =A0 25
> =A0MaxSpareThreads =A0 =A0 =A075
> =A0ThreadsPerChild =A0 =A0 =A0 =A0 25
> =A0MaxRequestsPerChild =A0 0
> =A0ServerLimit =A0 =A0 =A0 =A0 =A0 =A0 =A0 40
> =A0ThreadLimit =A0 =A0 =A0 =A0 =A0 =A0 =A040
>
> Is there something wrong in my configuration ?
My guess is that you're not using the worker MPM, and that you're
actually using the prefork MPM which is the default. Run a 'apachectl
-l' and see the modules you've got compiled-in. If you see 'prefork.c'
then that's why. See the docs for changing to worker if that's what
you want.
Cheers,
Phil.
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: about ServerLimit and ThreadLimit
am 14.12.2009 12:26:52 von Tseveendorj Ochirlantuu
--0016e64ccb2acdff60047aae8c26
Content-Type: text/plain; charset=UTF-8
Philip Wigg,
You're right. Thank you very much. Solved
Regards,
Tseveen.
I got prefork.c. Can you drive me
On Mon, Dec 14, 2009 at 6:23 PM, Philip Wigg wrote:
> > On the documentation of Apache2.2
> > ServerLimit is a hard limit on the number of active child processes, and
> > must be greater than or equal to the MaxClients directive divided by
> > the ThreadsPerChild directive. ThreadLimit is a hard limit of the number
> of
> > server threads, and must be greater than or equal to
> > the ThreadsPerChild directive.
> > I did like above on worker MPM but server reached Max connection when
> 256th
> > connection come.
> >
> > StartServers 5
> > MaxClients 350
> > MinSpareThreads 25
> > MaxSpareThreads 75
> > ThreadsPerChild 25
> > MaxRequestsPerChild 0
> > ServerLimit 40
> > ThreadLimit 40
> >
> > Is there something wrong in my configuration ?
>
> My guess is that you're not using the worker MPM, and that you're
> actually using the prefork MPM which is the default. Run a 'apachectl
> -l' and see the modules you've got compiled-in. If you see 'prefork.c'
> then that's why. See the docs for changing to worker if that's what
> you want.
>
> Cheers,
> Phil.
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
--0016e64ccb2acdff60047aae8c26
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Philip Wigg,
You're right. Thank you very much. Solv=
ed
Regards,
Tseveen.
>
I got prefork.c. Can you drive me
--0016e64ccb2acdff60047aae8c26--
Re: about ServerLimit and ThreadLimit
am 14.12.2009 12:51:41 von Philip Wigg
> I got prefork.c. Can you drive me
I'm afraid I can't drive you, you'll have to read the documentation
about the process models. Here's a good start:-
http://httpd.apache.org/docs/2.2/mpm.html
http://httpd.apache.org/docs/2.2/mod/prefork.html
It might be that switching to the worker MPM is what you want, or you
might want to stay with prefork and just increase MaxClients but
you'll have to read about the MPMs and decide.
After reading the docs, if you have a specific issue you need help
with then feel free to come back with a suitably constructed smart
question and we'll be happy to help.
http://catb.org/~esr/faqs/smart-questions.html
Cheers,
Phil.
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: about ServerLimit and ThreadLimit
am 15.12.2009 01:41:52 von Tseveendorj Ochirlantuu
--0016e64cba84f6eb19047ab9a796
Content-Type: text/plain; charset=UTF-8
Philip Wigg,
Sorry that was mistake. I didn't clear it :D
problem already solved. Have a nice day dude.
Best regards,
Tseveen.
On Mon, Dec 14, 2009 at 7:51 PM, Philip Wigg wrote:
> > I got prefork.c. Can you drive me
>
> I'm afraid I can't drive you, you'll have to read the documentation
> about the process models. Here's a good start:-
>
> http://httpd.apache.org/docs/2.2/mpm.html
> http://httpd.apache.org/docs/2.2/mod/prefork.html
>
> It might be that switching to the worker MPM is what you want, or you
> might want to stay with prefork and just increase MaxClients but
> you'll have to read about the MPMs and decide.
>
> After reading the docs, if you have a specific issue you need help
> with then feel free to come back with a suitably constructed smart
> question and we'll be happy to help.
>
> http://catb.org/~esr/faqs/smart-questions.html
>
> Cheers,
> Phil.
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
--0016e64cba84f6eb19047ab9a796
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Philip Wigg,
Sorry that was mistake. I didn't clear =
it :D
problem already solved. Have a nice day dude.
>
Best regards,
Tseveen.
--0016e64cba84f6eb19047ab9a796--